package com.ycc.springcloud.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;


@TableName("user")
public class User implements Serializable {
    String username;
    String password;
    String enabled;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    public User() {
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
        this.enabled = "1";
    }

    public User(String username, String password, String enabled) {
        this.username=username;
        this.password=password;
        this.enabled=enabled;
    }
}
